<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Wishlist extends Model
{
    protected $table = 'wishlist';
    protected $primaryKey = 'id';

    protected $fillable = ['username','pid'];

    public function wishInfo(){
        return $this->hasMany(Products::class,'pid','pid');
    }
}
